<template>
   <!-- 加载图标样式16 -->
   <div class="loading">
      <div></div>
      <div></div>
      <div></div>
      <div></div>
      <div></div>
   </div>
</template>

<script setup>

</script>

<style scoped lang='scss'>
.loading>div,
.loading {
   box-sizing: border-box;
   position: relative
}

.loading {
   color: #000;
   display: block;
   font-size: 0;
   height: 48px;
   width: 64px
}

.loading.la-dark {
   color: #333
}

.loading>div {
   animation: line-scale 1.2s ease infinite;
   background-color: currentColor;
   border: 0 solid;
   border-radius: 0;
   display: inline-block;
   float: none;
   height: 48px;
   margin: 0 4px;
   width: 4px
}

.loading>div:first-child {
   animation-delay: -1.2s;
   background-color: #1678ff
}

.loading>div:nth-child(2) {
   animation-delay: -1.1s;
   background-color: #04be02
}

.loading>div:nth-child(3) {
   animation-delay: -1s;
   background-color: #ea4e3d
}

.loading>div:nth-child(4) {
   animation-delay: -.9s;
   background-color: #ffaa09
}

.loading>div:nth-child(5) {
   animation-delay: -.8s;
   background-color: #e229ff
}

.loading.la-sm {
   height: 16px;
   width: 20px
}

.loading.la-sm>div {
   height: 16px;
   margin: 0 1px;
   width: 2px
}

.loading.la-2x {
   height: 64px;
   width: 80px
}

.loading.la-2x>div {
   height: 64px;
   margin: 0 4px;
   width: 8px
}

.loading.la-3x {
   height: 96px;
   width: 120px
}

.loading.la-3x>div {
   height: 96px;
   margin: 0 6px;
   width: 12px
}

@keyframes line-scale {

   0%,
   40%,
   to {
      transform: scaleY(.4)
   }

   20% {
      transform: scaleY(1)
   }
}
</style>
